home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2007 September
/
PCWSEP07.iso
/
Software
/
Linux
/
Linux Mint 3.0 Light
/
LinuxMint-3.0-Light.iso
/
casper
/
filesystem.squashfs
/
etc
/
init.d
/
pppd-dns
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2007-04-04
|
375 b
|
15 lines
#!/bin/sh -e
### BEGIN INIT INFO
# Provides: pppd-dns
# Required-Start: $local_fs
# Default-Start: S
# Short-Description: Restore resolv.conf if the system crashed.
### END INIT INFO
#
# Restore /etc/resolv.conf if the system crashed before the ppp link
# was shut down.
[ -x /etc/ppp/ip-down.d/0000usepeerdns ] \
&& exec /etc/ppp/ip-down.d/0000usepeerdns